package filejoiner.util;

import filejoiner.data.DataSheet;
import filejoiner.data.Entry;

/**
 *
 * @author Luis
 */
public interface DataSheetListener {

    public static Integer HASH_ERROR = 1;
    public static Integer NOT_EXIST_ERROR = 2;
    public static Integer FILE_ERROR = 3;

    public void onSplit(DataSheet dataSheet, Entry entry);

    public void onSplitError(DataSheet dataSheet, Entry entry);

    public void onUpload(DataSheet dataSheet, Entry entry);

    public void onUploadError(DataSheet dataSheet, Entry entry);

    public void onDownload(DataSheet dataSheet, Entry entry);

    public void onDownloadError(DataSheet dataSheet, Entry entry);

    public void onMake(DataSheet dataSheet, Entry entry);

    public void onMakeError(DataSheet dataSheet, Entry entry, Integer error);
}
